package lab02.test20;

import java.util.Scanner;

/**
 * Created by LENOVO on 2017/10/26.
 */
public class Test {

    public static void main(String[] args) {


        String result;

        Scanner scanner = new Scanner(System.in);

        result = scanner.next();

        System.out.println(result);

        char tmp;
        int i;
        for (i = 0; i < result.length() - 1; i++) {

        }

        tmp = result.charAt(i);

        if (tmp > '0' && tmp < '9') {
            System.out.println(tmp);
        }
    }
}




